//
// Created by nicemoe on 2021/8/16.
//

#include  <iostream>
#include "stock00.h"
/**
 * 编译命令 g++ .\stock00.cpp .\usestock0.cpp -o usestock

 * @return
 */
int main() {
    Stock fluffy_the_cat;
    fluffy_the_cat.acquire("NanoSmart",20,12.50);
    fluffy_the_cat.show();
    fluffy_the_cat.buy(15,18.125);
    fluffy_the_cat.show();
    fluffy_the_cat.sell(400,20.00);
    fluffy_the_cat.show();
    fluffy_the_cat.buy(300000,40.125);
    fluffy_the_cat.show();
    fluffy_the_cat.sell(300000,0.125);
    fluffy_the_cat.show();
    return 0;
}
